<template>
	<div class="tabbar">
		<div>
			<van-tabbar v-model="active" :route="true" class="tab">
				<van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
				<van-tabbar-item icon="search" to="/classification">分类</van-tabbar-item>
				<van-tabbar-item icon="friends-o" to="/cart">购物车</van-tabbar-item>
				<van-tabbar-item icon="setting-o" to="/user">未登录</van-tabbar-item>
			</van-tabbar>
		</div>
	</div>
</template>

<script>
export default {
	name: 'tabbar',
	data() {
		return { active: 0 };
	}
};
</script>

<style lang="scss" scoped>
.tabbar {
	.tab {
		height: 55px;
	}
}
</style>
